package com.ruoyi.business.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 盘点单对象 wms_inventory_record
 *
 * @author ruoyi
 * @date 2024-01-21
 */
@Data
public class WmsInventoryRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String inventoryNo;

    /** 状态: wait=待盘点,all=已完成,partial=盘点中 */
    @Excel(name = "状态: wait=待盘点,all=已完成,partial=盘点中")
    private String status;

    /** 计划id */
    @Excel(name = "计划id")
    private Long planId;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplierSn;

    /** 工厂id */
    @Excel(name = "工厂id")
    private Long factoryId;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Long storeId;

    /** 库区id */
    @Excel(name = "库区id")
    private Long storeRegionId;

    /** 库位id */
    @Excel(name = "库位id")
    private Long storeRegionLocationId;

    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private String barCode;

    private String planNo;
}
